﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Entity;
using WFAEF6.Model;

namespace WFAEF6
{
    public class BlogContext:DbContext
    {
        public BlogContext()
            : base("name=BlogsContext")
        {

        }
        public DbSet<Blog> Blogs { get; set; }
        public DbSet<Post> Posts { get; set; }
    }
}
